<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>调整tab的宽度</title>
    <link rel="stylesheet" href="../public.css">
    <style>
        .box {
            width: 80%;
            margin: 20px auto;
            border: 1px solid rebeccapurple;
        }

        pre,
        code {
            font-family: monospace;
        }

        pre {
            display: block;
            margin: 1em 0;
            white-space: pre;
        }

        pre {
            tab-size: 2;
        }
    </style>
</head>

<body>
    <div class="content">
        <h1>调整tab的宽度</h1>
        <ul>

        </ul>
        <div class="box  back">
            <pre>
                fsfsdf  sfsldfj
               let el = [1,2,3,4,5]
                for(let i in el){
                    console.log(i)
                }
            </pre>
        </div>
    </div>
</body>

</html>